﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DDD4Fun.Factory
{
    public class Apple : IFruit
    {

        #region IFruit Members

        public void SaySomething()
        {
            Console.WriteLine("new apple");
        }

        #endregion

        #region IFruit Members

        private string _name;
        public string name
        {
            get
            {
                return _name;
            }
            set
            {
                _name = value;
            }
        }

        #endregion
    }
}
